Many versions of the Music Object API have come and gone, and some significant changes in the API have occurred, leaving a good number of methods and properties either deprecated or completely unsupported. This section is provided to help developers in updating old sonification code to use the most current version of the Music Object API.
This section lists all methods and properties that have become unsupported, with explanations on how those methods and properties behaved and how newer methods and properties of the Music Object API can be used to achieve similar results. Wherever possible, explanations on how to update code are provided.
| Name |
Short Description |
| Instance Methods |
| engageAudio |
Provided a way to engage or disengage the audio device used by the player's underlying audio engine. Replaced by the functionally equivalent Music.engageAudio static method. |
| fadeFromTo |
Provided a way to fade the overall playback volume of a Music Object instance from a specified starting volume to a specified ending volume over a specified amount of time. Supplanted by the functionally equivalent fadeVolume instance method. |
| getNoteName |
Provided a way to convert a MIDI note number to a corresponding musical note name. Replaced by the functionally equivalent Music.getNoteName static method. |
| getNoteNumber |
Provided a way to convert a musical note name to a corresponding MIDI note number. Replaced by the functionally equivalent Music.getNoteNumber static method. |
| getPlatform |
Returned a string value, representing the user agent name of the user's browser. Replaced by the Music.clientPlatform static property. |
| getReverbType |
Returned an integer value, indicating the global reverb type that was set for the player's underlying audio engine. Replaced by the functionally equivalent Music.getReverbType static method. |
| getVersion |
Returned a string value, indicating the version number of the player installed in the user's browser. Replaced by the Music.playerVersion static property. |
| isReady |
Returned a boolean value, indicating whether or not a Music Object instance's player was ready for scripted control. Replaced by the functionally equivalent ready instance property. |
| playGroovoid |
Provided a convenient way to play Groovoids, simply by specifying the Groovoid name using a string parameter. This functionality was subsumed by the play instance method. |
| setGlobalMute |
Provided a way to mute or unmute the global audio output of the player's underlying audio engine. Replaced by the functionally equivalent Music.setGlobalMute static method. |
| setReverbType |
Provided a way to set the global reverb type for the player's underlying audio engine. Replaced by the functionally equivalent Music.setReverbType static method. |
| stopAll |
Provided a way to stop playback for all player instances in a single operation. Replaced by the Music.stopAll static method. |
| Static Properties |
| Music.ignoreNotReady |
A boolean property that specified whether or not error messages were to be sent to the debug output if scripting was targeted to a player instance that was not yet ready. |
| Music.platform |
A string property that represented the user's platform (operating system). Replaced by the functionally equivalent Music.clientPlatform static property. |
| Global Functions |
| mo_getNoteName |
Provided a way to convert a MIDI note number to a corresponding musical note name. Replaced by the functionally equivalent Music.getNoteName static method. |
| mo_getNoteNumber |
Provided a way to convert a musical note name to a corresponding MIDI note number. Replaced by the functionally equivalent Music.getNoteNumber static method. |
| mo_hasMinVersion |
Returned a boolean value, indicating whether or not the version of the player installed in the user's browser met the minimum version specified. Replaced by the functionally equivalent Music.hasMinVersion static method. |
| mo_installBeatnik |
Provided a way to explicitly launch the player installation process. Replaced by the functionally equivalent Music.installPlayer static method. |
| mo_isPlayerCompatible |
Provided a way to force Music Object to perform the compatibility test, even before any attempts were made in the authoring to embed player instances into the page. Replaced by the functionally equivalent Music.isPlayerCompatible static method. |
| mo_magicEmbed |
Provided a way to embed a non-scriptable player instance that was not associated to any Music Object instance. Replaced by the functionally equivalent Music.magicEmbed static method. |
| mo_promptClose |
Provided a way to close a prompt window that was opened by the mo_promptUser function. Replaced by the functionally equivalent Music.promptClose static method. |
| mo_promptUser |
Provided a way to open up a non-modal dialog window to prompt the user to make a decision. Replaced by the functionally equivalent Music.promptUser static method. |
| musicObject |
An object constructor that provided a way to create new Music Object instances. Replaced by the functionally equivalent Music object constructor. |
| Global Variables |
| mo_BeatnikType |
A string variable that indicated the type of browser component architecture used by the player. Replaced by the functionally equivalent Music.playerType static property. |
| mo_BeatnikVersion |
A string variable that indicated the version number of the player installed in the user's browser. Replaced by the functionally equivalent Music.playerVersion static property. |
| mo_browserSupported |
A boolean variable that indicated whether or not the user's browser was supported by the player. Replaced by the functionally equivalent Music.clientSupported static property. |
| mo_debugToAlert |
A boolean variable that specified whether or not error messages were to be displayed in alert boxes. Replaced by the functionally equivalent Music.debugToAlert static property of the Debug extension. |
| mo_debugToJavaConsole |
A boolean variable that specified whether or not error messages were to be displayed in the Java console. Replaced by the functionally equivalent Music.debugToJavaConsole static property of the Debug extension. |
| mo_debugToStatus |
A boolean variable that specified whether or not error messages were to be displayed in the window's status bar. Replaced by the functionally equivalent Music.debugToStatus static property of the Debug extension. |
| mo_enabled |
A boolean variable that acted as a "master switch" to enable or disable sonification of a page. Replaced by the functionally equivalent Music.enabled static property. |
| mo_hasBeatnik |
A boolean variable that indicated whether or not the player was installed in the user's browser. Replaced by the functionally equivalent Music.hasPlayer static property. |
| mo_ignoreJavaDisabled |
A boolean variable that specified whether or not a prompt should be displayed when Java was disabled in Netscape Navigator. Replaced by the functionally equivalent Music.ignoreJavaDisabled static property. |
| mo_ignoreNotReady |
A boolean variable that specified whether or not error messages were to be sent to the debug output if scripting was targeted to a player instance that was not yet ready. |
| mo_platform |
A string variable that represented the user's platform (operating system). Replaced by the functionally equivalent Music.clientPlatform static property. |
| mo_requiredMinVersion |
A string variable that specified the minimum player version required by a sonified page. Replaced by the Music.requireMinPlayerVersion static method and Music.requiredMinVersion read-only static property. |
| mo_showCompatibilityPrompt |
A boolean variable that specified whether or not a prompt should be displayed when the user's player configuration failed to meet a sonified page's compatibility requirements. Replaced by the functionally equivalent Music.showCompatibilityPrompt static property. |
| mo_silentIfInadequate |
A boolean variable that specified whether or not sonification on a page should be completely disabled if the user's player configuration failed to meet the page's compatibility requirements. Replaced by the functionally equivalent Music.silentIfInadequate static property. |
| Code Modules |
| Patch - Navigator 4.04 Bug |
A patch that was used to work around a specific bug in Netscape Navigator 4.04. |
|
|
| |
| CATEGORY |
Instance Method |
| Status |
no longer supported |
| Introduced at Version... |
2.2.2 |
| Obsoleted at Version... |
3.2.0 |
| Current Equivalent |
Music.engageAudio |
| | |
|
The engageAudio instance method provided a way to engage or disengage the audio device used by the player's underlying audio engine.
|
engageAudio ( AudioEngagedBOOL ) |
History
- The engageAudio instance method was first introduced in Music Object 2.2.2.
- For the release of Music Object 3.2.0, it was decided that it was no longer appropriate for this method to be an instance method, since the method affected the global audio engine and was not specific to any Music Object instance. Consequently, this instance method was replaced by the functionally equivalent Music.engageAudio static method.
| |
| CATEGORY |
Instance Method |
| Status |
no longer supported |
| Introduced at Version... |
1.1.0 |
| Obsoleted at Version... |
3.1.0 |
| Current Equivalent |
fadeVolume |
| | |
|
The fadeFromTo instance method provided a way to fade the overall playback volume of a Music Object instance from a specified starting volume to a specified ending volume over a specified amount of time.
History
- The fadeFromTo instance method was first introduced in Music Object 1.1.0.
- When the fadeVolume instance method was introduced in Music Object 2.2.2, it was designed in such way as to provide a superset of the parameters and capabilities of the fadeFromTo method. For many versions, the fadeFromTo method was still provided in order to maintain backwards compatibility, even though this method was merely calling through to the newer fadeVolume method.
- For the release of Music Object 3.1.0, it was decided that it was no longer necessary to provide the fadeFromTo method for backwards compatibility, since this method had been deprecated for many versions. Consequently, this instance method was removed in favor of the functionally equivalent fadeVolume instance method.
| |
| CATEGORY |
Instance Method |
| Status |
no longer supported |
| Introduced at Version... |
1.1.0 |
| Obsoleted at Version... |
3.1.0 |
| Current Equivalent |
Music.getNoteName |
| | |
|
The getNoteName instance method provided a way to convert a MIDI note number to a corresponding musical note name.
History
- The getNoteName instance method was first introduced in Music Object 1.1.0.
- For the release of Music Object 3.1.0, it was decided that it was no longer appropriate for this method to be an instance method, since the method was not specific to any Music Object instance. Consequently, this instance method was replaced by the functionally equivalent Music.getNoteName static method.
| |
| CATEGORY |
Instance Method |
| Status |
no longer supported |
| Introduced at Version... |
1.1.0 |
| Obsoleted at Version... |
3.1.0 |
| Current Equivalent |
Music.getNoteNumber |
| | |
|
The getNoteNumber instance method provided a way to convert a musical note name to a corresponding MIDI note number.
History
- The getNoteNumber instance method was first introduced in Music Object 1.1.0.
- For the release of Music Object 3.1.0, it was decided that it was no longer appropriate for this method to be an instance method, since the method was not specific to any Music Object instance. Consequently, this instance method was replaced by the functionally equivalent Music.getNoteNumber static method.
| |
| CATEGORY |
Instance Method |
| Status |
no longer supported |
| Introduced at Version... |
1.1.0 |
| Obsoleted at Version... |
2.7.9 |
| Current Equivalent |
Music.clientPlatform |
| | |
|
The getPlatform instance method returned a string value, representing the user agent name of the user's browser.
|
getPlatform ( ) |
History
- The getPlatform instance method was first introduced in Music Object 1.1.0.
- For the release of Music Object 2.7.9, it was decided that it was no longer appropriate for this method to be an instance method, since the method was not specific to any Music Object instance. Consequently, this instance method was supplanted by the mo_platform global variable.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global properties previously available as global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. Consequently, the mo_platform global variable was replaced by the functionally equivalent Music.platform static property.
- Finally, with the release of Music Object 3.3.0, it was decided that all static properties that indicated information about the user's client application (or browser) should be grouped together by naming convention, by prefixing each of these properties with "client" (eg. Music.clientName, Music.clientSupported, Music.clientVersion). Consequently, the Music.platform static property was replaced by the functionally equivalent Music.clientPlatform static property.
| |
| CATEGORY |
Instance Method |
| Status |
no longer supported |
| Introduced at Version... |
1.6.0 |
| Obsoleted at Version... |
3.2.0 |
| Current Equivalent |
Music.getReverbType |
| | |
|
The getReverbType instance method returned an integer value, indicating the global reverb type that was set for the player's underlying audio engine.
|
getReverbType ( ) |
History
- The getReverbType instance method was first introduced in Music Object 1.6.0.
- For the release of Music Object 3.2.0, it was decided that it was no longer appropriate for this method to be an instance method, since the method applied to the global audio engine and was not specific to any Music Object instance. Consequently, this instance method was replaced by the functionally equivalent Music.getReverbType static method.
| |
| CATEGORY |
Instance Method |
| Status |
no longer supported |
| Introduced at Version... |
1.1.0 |
| Obsoleted at Version... |
3.1.0 |
| Current Equivalent |
Music.playerVersion |
| | |
|
The getVersion instance method returned a string value, indicating the version number of the player installed in the user's browser.
|
getVersion ( ) |
History
- The getVersion instance method was first introduced in Music Object 1.1.0.
- For the release of Music Object 3.1.0, it was decided that it was no longer appropriate for this method to be an instance method, since the method was not specific to any Music Object instance. It was also decided to take advantage of this opportunity to improve the API by choosing a clearer and more meaningful name for this feature. Consequently, this instance method was replaced by the functionally equivalent Music.playerVersion static property.
| |
| CATEGORY |
Instance Method |
| Status |
no longer supported |
| Introduced at Version... |
1.1.0 |
| Obsoleted at Version... |
3.1.0 |
| Current Equivalent |
ready |
| | |
|
The isReady instance method returned a boolean value, indicating whether or not a Music Object instance's player was ready for scripted control.
|
isReady ( ) |
History
- The isReady instance method was first introduced in Music Object 1.1.0.
- In order to further streamline the Music Object API, it was decided for the release of Music Object 3.1.0 to eliminate the isReady instance method in favor of the functionally equivalent ready instance property. This property was already being maintained for each Music Object instance, yet had previously not been part of the public API.
| |
| CATEGORY |
Instance Method |
| Status |
no longer supported |
| Introduced at Version... |
1.6.0 |
| Obsoleted at Version... |
3.1.0 |
| Current Equivalent |
play |
| | |
|
The playGroovoid instance method provided a convenient way to play Groovoids, simply by specifying the Groovoid name using a string parameter.
History
- The playGroovoid instance method was first introduced in Music Object 1.6.0.
- In order to help streamline the Music Object API, it was decided for the release of Music Object 2.6.9 to combine the capabilities of the playGroovoid instance method into an enhanced play instance method. In order to maintain backwards compatibility with existing content, it was decided to still support the playGroovoid method for some versions into the future.
- Finally, with the release of Music Object 3.1.0, it was decided that it was no longer necessary to provide the playGroovoid method for backwards compatibility, since this method had been deprecated for many versions. Consequently, this instance method was removed in favor of the functionally equivalent play instance method.
| |
| CATEGORY |
Instance Method |
| Status |
no longer supported |
| Introduced at Version... |
1.6.0 |
| Obsoleted at Version... |
3.2.0 |
| Current Equivalent |
Music.setGlobalMute |
| | |
|
The setGlobalMute instance method provided a way to mute or unmute the global audio output of the player's underlying audio engine.
History
- The setGlobalMute instance method was first introduced in Music Object 1.6.0.
- For the release of Music Object 3.2.0, it was decided that it was no longer appropriate for this method to be an instance method, since the method affected the global audio engine and was not specific to any Music Object instance. Consequently, this instance method was replaced by the functionally equivalent Music.setGlobalMute static method.
| |
| CATEGORY |
Instance Method |
| Status |
no longer supported |
| Introduced at Version... |
1.6.0 |
| Obsoleted at Version... |
3.2.0 |
| Current Equivalent |
Music.setReverbType |
| | |
|
The setReverbType instance method provided a way to set the global reverb type for the player's underlying audio engine.
History
- The setReverbType instance method was first introduced in Music Object 1.6.0.
- For the release of Music Object 3.2.0, it was decided that it was no longer appropriate for this method to be an instance method, since the method affected the global audio engine and was not specific to any Music Object instance. Consequently, this instance method was replaced by the functionally equivalent Music.setReverbType static method.
| |
| CATEGORY |
Instance Method |
| Status |
no longer supported |
| Introduced at Version... |
2.2.2 |
| Obsoleted at Version... |
3.1.0 |
| Current Equivalent |
Music.stopAll |
| | |
|
The stopAll instance method provided a way to stop playback for all player instances in a single operation.
|
stopAll ( ) |
History
- The stopAll instance method was first introduced in Music Object 2.2.2.
- For the release of Music Object 3.1.0, it was decided that it was no longer appropriate for this method to be an instance method, since the method could affect multiple Music Object instances - not just the instance that the method was called on. Consequently, this instance method was supplanted by the Music.stopAll static method.
The Music.stopAll static method is not functionally equivalent to the obsoleted stopAll instance method. It was decided that it was no longer desirable to provide a method that could have the effect of stopping playback of all player instances - including player instances that were not part of the document that originated the call to the method - since this could result in the sonification for one Web site interfering with the sonification of a different Web site that is contained inside a different window. So, the Music.stopAll static method was implemented so that it would only stop the playback for all the player instances contained inside the document that originated the call to the method.
| |
| CATEGORY |
Static Property |
| Status |
no longer supported |
| Introduced at Version... |
3.0.0 |
| Obsoleted at Version... |
3.1.0 |
| Current Equivalent |
-- none -- |
| | |
|
The Music.ignoreNotReady static property was a boolean property that specified whether or not error messages were to be sent to the debug output if scripting was targeted to a player instance that was not yet ready.
History
- The Music.ignoreNotReady static property was first introduced in Music Object 3.0.0.
- For the release of Music Object 3.1.0, it was decided that this feature was not compelling enough and, in an effort to streamline the Music Object API, this static property was removed from the API.
The Music.platform static property was a string property that represented the user's platform (operating system).
History
- The Music.platform static property was first introduced in Music Object 3.0.0.
- For the release of Music Object 3.3.0, it was decided that all static properties that indicated information about the user's client application (or browser) should be grouped together by naming convention, by prefixing each of these properties with "client" (eg. Music.clientName, Music.clientSupported, Music.clientVersion). Consequently, the Music.platform static property was replaced by the functionally equivalent Music.clientPlatform static property.
| |
| CATEGORY |
Global Function |
| Status |
deprecated |
| Introduced at Version... |
1.6.0 |
| Obsoleted at Version... |
3.0.0 |
| Current Equivalent |
Music.getNoteName |
| | |
|
The mo_getNoteName global function provided a way to convert a MIDI note number to a corresponding musical note name.
History
- The mo_getNoteName global function was first introduced in Music Object 1.6.0.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global functions prefixed with "mo_" should be supplanted by similarly named static methods of the Music object. Consequently, the mo_getNoteName global function was replaced by the functionally equivalent Music.getNoteName static method.
The mo_getNoteNumber global function provided a way to convert a musical note name to a corresponding MIDI note number.
History
- The mo_getNoteNumber global function was first introduced in Music Object 1.6.0.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global functions prefixed with "mo_" should be supplanted by similarly named static methods of the Music object. Consequently, the mo_getNoteNumber global function was replaced by the functionally equivalent Music.getNoteNumber static method.
The mo_hasMinVersion global function returned a boolean value, indicating whether or not the version of the player installed in the user's browser met the minimum version specified.
|
mo_hasMinVersion ( MinimumVersionSTR ) |
History
- The mo_hasMinVersion global function was first introduced in Music Object 2.6.9.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global functions prefixed with "mo_" should be supplanted by similarly named static methods of the Music object. Consequently, the mo_hasMinVersion global function was replaced by the functionally equivalent Music.hasMinVersion static method.
| |
| CATEGORY |
Global Function |
| Status |
no longer supported |
| Introduced at Version... |
2.6.9 |
| Obsoleted at Version... |
3.0.0 |
| Current Equivalent |
Music.installPlayer |
| | |
|
The mo_installBeatnik global function provided a way to explicitly launch the player installation process.
|
mo_installBeatnik ( ) |
History
- The mo_installBeatnik global function was first introduced in Music Object 2.6.9.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global functions prefixed with "mo_" should be supplanted by similarly named static methods of the Music object. It was also decided to take advantage of this opportunity to improve the API by choosing a new name for this method that was vendor-neutral and not specific to Beatnik's Player technology. Consequently, the mo_installBeatnik global function was replaced by the functionally equivalent Music.installPlayer static method.
The mo_isPlayerCompatible global function provided a way to force Music Object to perform the compatibility test, even before any attempts were made in the authoring to embed player instances into the page.
|
mo_isPlayerCompatible (
MinimumVersionSTR ,
SilentIfInadequateBOOL ,
ShowCompatibilityPromptBOOL
)
|
History
- The mo_isPlayerCompatible global function was first introduced in Music Object 2.6.9.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global functions prefixed with "mo_" should be supplanted by similarly named static methods of the Music object. Consequently, the mo_isPlayerCompatible global function was replaced by the functionally equivalent Music.isPlayerCompatible static method.
| |
| CATEGORY |
Global Function |
| Status |
deprecated |
| Introduced at Version... |
2.1.6 |
| Obsoleted at Version... |
3.0.0 |
| Current Equivalent |
Music.magicEmbed |
| | |
|
The mo_magicEmbed global function provided a way to embed a non-scriptable player instance that was not associated to any Music Object instance.
History
- The mo_magicEmbed global function was first introduced in Music Object 2.1.6.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global functions prefixed with "mo_" should be supplanted by similarly named static methods of the Music object. Consequently, the mo_magicEmbed global function was replaced by the functionally equivalent Music.magicEmbed static method.
| |
| CATEGORY |
Global Function |
| Status |
deprecated |
| Introduced at Version... |
2.6.9 |
| Obsoleted at Version... |
3.0.0 |
| Current Equivalent |
Music.promptClose |
| | |
|
The mo_promptClose global function provided a way to close a prompt window that was opened by the mo_promptUser function.
|
mo_promptClose ( ) |
History
- The mo_promptClose global function was first introduced in Music Object 2.6.9.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global functions prefixed with "mo_" should be supplanted by similarly named static methods of the Music object. Consequently, the mo_promptClose global function was replaced by the functionally equivalent Music.promptClose static method.
| |
| CATEGORY |
Global Function |
| Status |
deprecated |
| Introduced at Version... |
2.6.9 |
| Obsoleted at Version... |
3.0.0 |
| Current Equivalent |
Music.promptUser |
| | |
|
The mo_promptUser global function provided a way to open up a non-modal dialog window to prompt the user to make a decision.
|
Music.promptUser (
HeadingSTR ,
MessageSTR ,
OkTextSTR ,
OkJavaScriptSTR ,
CancelTextSTR ,
CancelJavaScriptSTR ,
ShowStatusBarBOOL
)
|
History
- The mo_promptUser global function was first introduced in Music Object 2.6.9.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global functions prefixed with "mo_" should be supplanted by similarly named static methods of the Music object. Consequently, the mo_promptUser global function was replaced by the functionally equivalent Music.promptUser static method.
| |
| CATEGORY |
Global Function |
| Status |
no longer supported |
| Introduced at Version... |
1.1.0 |
| Obsoleted at Version... |
3.1.0 |
| Current Equivalent |
Music |
| | |
|
The musicObject global function was an object constructor that provided a way to create new Music Object instances.
|
musicObject ( ObjectNameSTR ) |
History
- The musicObject global function (object constructor) was first introduced in Music Object 1.1.0.
- For the release of Music Object 3.0.0, it was decided to present a more elegant API to developers by rolling much of the functionality, that was previously available in the form of global functions and global variables, into a single object class. The object class name "Music" was chosen in order to bring the API in line with other objects that are built into the JavaScript language (such as the "Math", "Image", "Date" and other objects). Since the capitalization of the first letter now indicated that "Music" was an object constructor, it was considered redundant to append "Object" to its name. Consequently, the musicObject object constructor was replaced by the functionally equivalent Music object constructor. It was decided to still support the musicObject constructor to maintain backwards compatibility, giving content developers time in which to transition to using the new Music constructor.
- With the release of Music Object 3.1.0, it was decided to no longer support the musicObject constructor. A backwards compatibility patch (Music Object Patch - Pre 3.1.0) was provided to allow content developers to use version 3.1.0 without having to update their code to accommodate this change in the API.
| |
| CATEGORY |
Global Variable |
| Status |
no longer supported |
| Introduced at Version... |
2.2.2 |
| Obsoleted at Version... |
3.0.0 |
| Current Equivalent |
Music.playerType |
| | |
|
The mo_BeatnikType global variable was a string variable that indicated the type of browser component architecture used by the player.
History
- The mo_BeatnikType global variable was first introduced in Music Object 2.2.2.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. It was also decided to take advantage of this opportunity to improve the API by choosing a new name for this property that was vendor-neutral and not specific to Beatnik's Player technology. Consequently, the mo_BeatnikType global variable was replaced by the functionally equivalent Music.playerType static property.
| |
| CATEGORY |
Global Variable |
| Status |
no longer supported |
| Introduced at Version... |
2.6.9 |
| Obsoleted at Version... |
3.0.0 |
| Current Equivalent |
Music.playerVersion |
| | |
|
The mo_BeatnikVersion global variable was a string variable that indicated the version number of the player installed in the user's browser.
History
- The mo_BeatnikVersion global variable was first introduced in Music Object 2.6.9.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. It was also decided to take advantage of this opportunity to improve the API by choosing a new name for this property that was vendor-neutral and not specific to Beatnik's Player technology. Consequently, the mo_BeatnikVersion global variable was replaced by the functionally equivalent Music.playerVersion static property.
The mo_browserSupported global variable was a boolean variable that indicated whether or not the user's browser was supported by the player.
History
- The mo_browserSupported global variable was first introduced in Music Object 2.6.9.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. It was also decided to start grouping together static properties that indicated information about the user's client application (or browser), by prefixing each of these properties with "client". Consequently, the mo_browserSupported global variable was replaced by the functionally equivalent Music.clientSupported static property.
| |
| CATEGORY |
Global Variable |
| Status |
no longer supported |
| Introduced at Version... |
2.3.0 |
| Obsoleted at Version... |
3.0.0 |
| Current Equivalent |
Music.debugToAlert |
| | |
|
The mo_debugToAlert global variable was a boolean variable that specified whether or not error messages were to be displayed in alert boxes.
History
- The mo_debugToAlert global variable was first introduced in Music Object 2.3.0.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global properties previously available as global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. Consequently, the mo_debugToAlert global variable was replaced by the functionally equivalent Music.debugToAlert static property.
- With the release of Music Object 3.2.0, it was decided to no longer make the debugging capabilities part of the core Music Object API, but rather to make them available in the optional Debug Music Object extension. This was done in order to allow content developers to publish highly-optimized live content using the smallest possible "music-object.js" JavaScript file.

- While the Debug extension is designed primarily to assist you in tracking down problems before content goes live, you can still opt to use the Debug extension in your live content if you feel this may help in providing technical support to users if further problems are found with your content after it has gone live.
- If you like the idea of having the debugging capabilities wrapped together with the Music Object API in a single JavaScript file, you can still achieve this by making your own custom Music Object suite. For further information on how to do this, consult the section Making a Custom Music Object Suite.
The mo_debugToJavaConsole global variable was a boolean variable that specified whether or not error messages were to be displayed in the Java console.
History
- The mo_debugToJavaConsole global variable was first introduced in Music Object 2.3.0.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global properties previously available as global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. Consequently, the mo_debugToJavaConsole global variable was replaced by the functionally equivalent Music.debugToJavaConsole static property.
- With the release of Music Object 3.2.0, it was decided to no longer make the debugging capabilities part of the core Music Object API, but rather to make them available in the optional Debug Music Object extension. This was done in order to allow content developers to publish highly-optimized live content using the smallest possible "music-object.js" JavaScript file.

- While the Debug extension is designed primarily to assist you in tracking down problems before content goes live, you can still opt to use the Debug extension in your live content if you feel this may help in providing technical support to users if further problems are found with your content after it has gone live.
- If you like the idea of having the debugging capabilities wrapped together with the Music Object API in a single JavaScript file, you can still achieve this by making your own custom Music Object suite. For further information on how to do this, consult the section Making a Custom Music Object Suite.
| |
| CATEGORY |
Global Variable |
| Status |
no longer supported |
| Introduced at Version... |
2.3.0 |
| Obsoleted at Version... |
3.0.0 |
| Current Equivalent |
Music.debugToStatus |
| | |
|
The mo_debugToStatus global variable was a boolean variable that specified whether or not error messages were to be displayed in the window's status bar.
History
- The mo_debugToStatus global variable was first introduced in Music Object 2.3.0.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global properties previously available as global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. Consequently, the mo_debugToStatus global variable was replaced by the functionally equivalent Music.debugToStatus static property.
- With the release of Music Object 3.2.0, it was decided to no longer make the debugging capabilities part of the core Music Object API, but rather to make them available in the optional Debug Music Object extension. This was done in order to allow content developers to publish highly-optimized live content using the smallest possible "music-object.js" JavaScript file.

- While the Debug extension is designed primarily to assist you in tracking down problems before content goes live, you can still opt to use the Debug extension in your live content if you feel this may help in providing technical support to users if further problems are found with your content after it has gone live.
- If you like the idea of having the debugging capabilities wrapped together with the Music Object API in a single JavaScript file, you can still achieve this by making your own custom Music Object suite. For further information on how to do this, consult the section Making a Custom Music Object Suite.
| |
| CATEGORY |
Global Variable |
| Status |
no longer supported |
| Introduced at Version... |
2.6.9 |
| Obsoleted at Version... |
3.0.0 |
| Current Equivalent |
Music.enabled |
| | |
|
The mo_enabled global variable was a boolean variable that acted as a "master switch" to enable or disable sonification of a page.
History
- The mo_enabled global variable was first introduced in Music Object 2.6.9.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. Consequently, the mo_enabled global variable was replaced by the functionally equivalent Music.enabled static property.
| |
| CATEGORY |
Global Variable |
| Status |
no longer supported |
| Introduced at Version... |
2.2.2 |
| Obsoleted at Version... |
3.0.0 |
| Current Equivalent |
Music.hasPlayer |
| | |
|
The mo_hasBeatnik global variable was a boolean variable that indicated whether or not the player was installed in the user's browser.
History
- The mo_hasBeatnik global variable was first introduced in Music Object 2.2.2.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. It was also decided to take advantage of this opportunity to improve the API by choosing a new name for this property that was vendor-neutral and not specific to Beatnik's Player technology. Consequently, the mo_hasBeatnik global variable was replaced by the functionally equivalent Music.hasPlayer static property.
The mo_ignoreJavaDisabled global variable was a boolean variable that specified whether or not a prompt should be displayed when Java was disabled in Netscape Navigator.
History
- The mo_ignoreJavaDisabled global variable was first introduced in Music Object 2.6.9.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. Consequently, the mo_ignoreJavaDisabled global variable was replaced by the functionally equivalent Music.ignoreJavaDisabled static property.
| |
| CATEGORY |
Global Variable |
| Status |
no longer supported |
| Introduced at Version... |
2.3.1 |
| Obsoleted at Version... |
3.0.0 |
| Current Equivalent |
-- none -- |
| | |
|
The mo_ignoreNotReady global variable was a boolean variable that specified whether or not error messages were to be sent to the debug output if scripting was targeted to a player instance that was not yet ready.
History
- The mo_ignoreNotReady global variable was first introduced in Music Object 2.3.1.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global properties previously available as global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. Consequently, the mo_ignoreNotReady global variable was replaced by the functionally equivalent Music.ignoreNotReady static property.
- Finally, with the release of Music Object 3.1.0, it was decided that this feature was not compelling enough and, in an effort to streamline the Music Object API, the Music.ignoreNotReady static property was removed from the API.
| |
| CATEGORY |
Global Variable |
| Status |
no longer supported |
| Introduced at Version... |
2.6.9 |
| Obsoleted at Version... |
3.0.0 |
| Current Equivalent |
Music.clientPlatform |
| | |
|
The mo_platform global variable was a string variable that represented the user's platform (operating system).
History
- The mo_platform global variable was first introduced in Music Object 2.6.9.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global properties previously available as global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. Consequently, the mo_platform global variable was replaced by the functionally equivalent Music.platform static property.
- Finally, with the release of Music Object 3.3.0, it was decided that all static properties that indicated information about the user's client application (or browser) should be grouped together by naming convention, by prefixing each of these properties with "client" (eg. Music.clientName, Music.clientSupported, Music.clientVersion). Consequently, the Music.platform static property was replaced by the functionally equivalent Music.clientPlatform static property.
The mo_requiredMinVersion global variable was a string variable that specified the minimum player version required by a sonified page.
History
- The mo_requiredMinVersion global variable was first introduced in Music Object 2.6.9.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global properties previously available as global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. Consequently, the mo_requiredMinVersion global variable was replaced by the functionally equivalent Music.requiredMinVersion static property.
- Finally, with the release of Music Object 3.3.0, it was decided that the Music.requiredMinVersion static property should become a read-only property and that the newer Music.requireMinPlayerVersion static method should be used, instead, to request a minimum required version. This change was made to allow multiple separate code modules to independently request a minimum player version, such that the highest minimum player version that is requested by all code modules will be the version used to determine if the player installed on the user's system is adequate for the content as a whole. This approach allows separate code modules to co-exist and declare their player dependencies in a more cooperative manner. With this new approach, the read-only Music.requiredMinVersion static property serves the purpose of indicating the minimum required player version that results from all requests for a minimum version that go through the Music.requireMinPlayerVersion static method.
The mo_showCompatibilityPrompt global variable was a boolean variable that specified whether or not a prompt should be displayed when the user's player configuration failed to meet a sonified page's compatibility requirements.
History
- The mo_showCompatibilityPrompt global variable was first introduced in Music Object 2.6.9.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. Consequently, the mo_showCompatibilityPrompt global variable was replaced by the functionally equivalent Music.showCompatibilityPrompt static property.
The mo_silentIfInadequate global variable was a boolean variable that specified whether or not sonification on a page should be completely disabled if the user's player configuration failed to meet the page's compatibility requirements.
History
- The mo_silentIfInadequate global variable was first introduced in Music Object 2.6.9.
- In order to present a more elegant API, it was decided for the release of Music Object 3.0.0 that all global variables prefixed with "mo_" should be supplanted by similarly named static properties of the Music object. Consequently, the mo_silentIfInadequate global variable was replaced by the functionally equivalent Music.silentIfInadequate static property.
| |
| CATEGORY |
Code Modules |
| Status |
no longer supported |
| Introduced at Version... |
3.1.0 |
| Obsoleted at Version... |
3.4.0 |
| | |
|
The Music Object Patch - Navigator 4.04 Bug code module was used to work around a specific bug in Netscape Navigator 4.04.
History
- After the bug in Navigator 4.04 was discovered, a workaround was introduced and was built into Music Object 2.1.6.
- The built-in workaround was subsequently dropped in Music Object 2.5.5, due to several releases of Navigator passing since Netscape fixed the bug and also due to the code size that the workaround added to the Music Object API.
- In Music Object 3.1.0, due to concerns from Web content developers regarding compatibility of their sonified content with all versions of Navigator, this workaround was reinstated in the form of an optional code module "Music Object Patch - Navigator 4.04 Bug". This provided the best way at the time to offer content developers the option of supporting the old 4.04 version of Navigator, while at the same time not bloating the code size of the core Music Object API.
- Finally, with the release of Music Object 3.4.0, Beatnik officially stopped supporting versions 4.0.x of the Netscape Navigator browser. As a result, the Music Object Patch - Navigator 4.04 Bug code module was obsoleted.